package xm.interfaces
{
	import flash.display.DisplayObject;
	
	import xm.core.XMSprite;

	/**
	 * @author kjhbond
	 */	
	public interface IPopupManager
	{
		function createPopUp(className:Class, closeHandler : Function = null, modal:Boolean = true):XMSprite;
		
		function addPopUp(popUp:XMSprite, closeHandler : Function = null, modal:Boolean = true, isModalClickToClosePopup : Boolean = true):void;
		
		function centerPopUp(popUp:XMSprite):void;
		
		function removePopUp(popUp:XMSprite):void;
		
		function bringToFront(popUp:XMSprite):void;
	}
}